<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>静态网页</title>




</head>
<body>

    <h1 id="title">双体系·峰林二部</h1>
    <button type="button" onclick="alert('点中啦')">点我</button>
    <button type="button" onclick="edit()">修改</button>
</body>

<script type="text/javascript">
    //alert('欢迎光临');

    /*定义函数*/
    function edit() {
        var item = document.getElementById("title");
        item.innerText = "你好帅啊!!!";


    }


</script>
</html>